package com.lmaye.design.patterns.creation.factorymethod;

/**
 * -- DockerWorkFactory
 *
 * @author lmay.Zhou
 * @date 2020/11/15 22:56 星期日
 * @qq 379839355
 * @email lmay@lmaye.com
 * @since JDK1.8
 */
public class DockerWorkFactory implements IWorkFactory {
    @Override
    public IWork createWork() {
        return new DoctorWork();
    }
}
